package com.htgd.gardenexpo.service;

import com.github.pagehelper.PageInfo;
import com.htgd.gardenexpo.dto.GeConTheaterMovieDTO;
import com.htgd.gardenexpo.entity.CommonResult;
import com.htgd.gardenexpo.entity.GeConTheaterMovie;
import com.baomidou.mybatisplus.extension.service.IService;
import com.htgd.gardenexpo.entity.PageQuery;
import com.htgd.gardenexpo.page.MovieQuery;
import com.htgd.gardenexpo.vo.GeConTheaterMovieVO;
import com.htgd.gardenexpo.vo.TheaterList;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 剧场资源 服务类
 * </p>
 *
 * @author author
 * @since 2024-09-02
 */
public interface GeConTheaterMovieService extends IService<GeConTheaterMovie> {

    PageInfo<GeConTheaterMovieVO> pageList(MovieQuery movieQuery);

    PageInfo<TheaterList> theaterList(PageQuery pageQuery,
                                      HttpServletRequest request);

   void cancelTheater(String id,HttpServletRequest request);

    CommonResult review(GeConTheaterMovie geConTheaterMovie);

    CommonResult add(GeConTheaterMovieDTO geConTheaterMovieDTO);

    CommonResult edit(GeConTheaterMovieDTO geConTheaterMovieDTO);
}
